package kr.hkit.powerjava.chapter15;

import java.awt.Graphics;

import javax.swing.JPanel;

import org.omg.CORBA.PRIVATE_MEMBER;

public class Mypanel extends JPanel {

	/**
	 * Create the panel.
	 */
	public Mypanel() {

	}

	@Override
	protected void paintChildren(Graphics g) {

		super.paintChildren(g);
		System.out.println("MyPanel- pain");
		g.drawString("Hello Java", 10, 10);
		g.drawLine(10, 20, 110, 20);
	}
}
